package com.ssm.service;


import com.ssm.dao.stuDao;
import com.ssm.po.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class stuService {
    @Autowired
    private stuDao stuDao;

    public List<Student> doSearch(Student student){
        return stuDao.doSearch(student);
    }

    public Integer doDel(Integer id){
        return stuDao.doDel(id);
    }

    public Integer doIns(Student student){
        return stuDao.doIns(student);
    }

    public Integer doUpdate(Student student){
        return stuDao.doUpdate(student);
    }
    public Student check(Student student){
        return stuDao.check(student);
    }
}
